package cn.edu.sgu.www.mhxysy.entity.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 类属性/表字段
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
public class ClassProperty implements Serializable {
    private static final long serialVersionUID = 18L;

    /**
     * 字段名称
     */
    @ApiModelProperty(value = "表名称")
    private String name;

    /**
     * 字段类型
     */
    @ApiModelProperty(value = "字段类型")
    private String dataType;

    /**
     * 字段注释
     */
    @ApiModelProperty(value = "字段注释")
    private String comment;

    /**
     * 是否非空
     */
    @ApiModelProperty(value = "是否非空")
    private boolean notNull;
}